﻿using System;
using KingsSharp.Core.Data;

namespace CRM.Admin.Contracts.Dto.Sys
{
    public class MenuCatalogDto : IAddDto, IEditDto<Guid>
    {
        /// <summary>
        /// 菜单目录主键编码
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 目录名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 图标大小
        /// </summary>
        public string IconText { get; set; }

        /// <summary>
        /// 图标颜色
        /// </summary>
        public string IconColor { get; set; }

        /// <summary>
        /// 公司
        /// </summary>
        public short Type { get; set; }

        /// <summary>
        /// 目录排序
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// 父ID
        /// </summary>
        public Guid? Pid { get; set; }

        /// <summary>
        /// 父目录
        /// </summary>
        public string PName { get; set; }
    }
}
